package dfbz.泛型集合;

public class Print<E> {
    private E message;

    public Print() {
    }

    public Print(E message) {
        this.message = message;
    }

    public E getMessage() {
        return message;
    }

    public void setMessage(E message) {
        this.message = message;
    }
    public void show(){
        System.out.println(message);
    }
}
